package com.xiaoyu.lanling.feature.chat.adapter.emoji;

import com.xiaoyu.lanling.feature.chat.model.emoji.ChatEmojiGridItem;
import com.xiaoyu.lanling.feature.chat.viewholder.emoji.ChatEmojiGridViewHolder;

import java.util.ArrayList;

import in.srain.cube.views.list.ListViewDataAdapter;

public class ChatEmojiGridAdapter extends ListViewDataAdapter<ChatEmojiGridItem> {

    public ChatEmojiGridAdapter() {
        setViewHolderClass(null, ChatEmojiGridViewHolder.class);
    }

    public void setData(ArrayList<ChatEmojiGridItem> chatEmojiGridItems) {
        this.mItemDataList = chatEmojiGridItems;
        notifyDataSetChanged();
    }
}
